CompilerElement Class [IIS 7 and higher]
Specifies a compiler that is used for Web applications.
Syntax
class CompilerElement : CollectionElement
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the CompilerElement class.
Name |
Description |
---|---|
CompilerOptions |
A read/write string value that specifies compiler-specific options to use during compilation. Overrides any previously defined values. |
Extensions |
A required unique read/write string value that contains a semicolon-delimited list of file name extensions used for dynamic code-behind files, files in the code directory, and other referenced files. A key property. |
Language |
A required unique read/write string value that contains a semicolon-delimited list of programming languages to use in dynamic compilation files. A key property. |
Type |
A read/write string value that specifies the type name of the language compiler to use for dynamic compilation files.
Note:
The Type property specifies the type name of the language provider, including the name of the assembly that contains the provider implementation.
|
WarningLevel |
A read/write sint32 value that specifies the compiler warning level.
Note:
The compiler warning level determines the level at which the language provider treats compilation warnings as errors.
|
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the Compilers array property of the CompilerSettings class.
Inheritance Hierarchy
CompilerElement
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |